WpMatomo\Ecommerce\Woocommerce B

Total Complexity 90
Dependencies 4
Dependents 1
Total lines 511
Lines of code 350
Logical lines of code 196
Comment lines 69
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
get_product_details()
A
45 13 39
on_order()
A
42 10 54
on_cart_updated()
A
43 10 45
maybe_track_order_complete()
S
64 6 9
on_order_status_change()
S
60 5 13
register_hooks()
S
48 3 34
get_product_categories()
S
57 4 17
save_order_metadata()
S
60 4 13
anonymise_orderid_in_url()
S
61 3 15
after_calculate_totals()
S
62 3 12
get_sku()
S
71 3 6
get_product_id()
S
67 3 9
get_tracking_calls_in_session()
S
65 3 10
on_product_view()
S
60 2 14
set_order_been_tracked()
S
63 2 12
isOrderFromBackOffice()
S
77 2 3
has_order_been_tracked_already()
S
68 2 7
get_order_meta()
S
66 2 8
get_order_id()
S
78 2 3
add_tracking_calls_to_session()
S
68 2 7
remove_tracking_calls_in_session()
S
73 2 5
aioseo_add_to_cart_skip()
S
76 1 4
on_cart_updated_safe()
S
81 1 3
isWC3()
S
72 1 5
supports_delayed_tracking()
S
82 1 3